﻿using System;
using System.ComponentModel.DataAnnotations;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;

namespace Abp0713Demo.Materials
{
    public class MaterialInfo : Entity, IFullAudited
    {
        
        /// <summary>
        /// 物料名称
        /// </summary>
        [MaxLength(256)]
        public string Name { get; set; }
        /// <summary>
        /// 代码
        /// </summary>
        [MaxLength(50)]
        public string Code { get; set; }
        /// <summary>
        /// 物料药批号
        /// </summary>
        [MaxLength(50)]
        public string BatchNumber { get; set; }

        /// <summary>
        /// 物料药产地
        /// </summary>
        [MaxLength(100)]
        public string OriginAddress { get; set; }

        

        public DateTime CreationTime { get; set; }
        public long? CreatorUserId { get; set; }
        public DateTime? LastModificationTime { get; set; }
        public long? LastModifierUserId { get; set; }
        public bool IsDeleted { get; set; }
        public DateTime? DeletionTime { get; set; }
        public long? DeleterUserId { get; set; }
    }
}